package cn.net.msg.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.stereotype.Component;

@Component("examfiles")
@Entity
@Table(name = "tb_examfiles")
public class TbExamFiles{
    
    @Id @Column(name = "Exam_id",length=11)
    private int examId;
    
    @Column(name= "Grade_id",length=11)
    private int gradeId;
    
    @Column(name= "Exam_typeid",length=11)
    private int examTypeid;
    
    @Column(name= "Exam_icon",length=100,nullable=true)
    private String examIcon;
    
    @Column(name= "Exam_fileid",length=11,nullable=true)
    private int examFileid;
    
    @Column(name= "Exam_title",length=100,nullable=true)
    private String examTitle;
    
    @Column(name= "Exam_description",length=100,nullable=true)
    private String examDescription;
    
    @Column(name= "Exam_creator",length=100,nullable=true)
    private String examCreator;
    
    @Column(name= "Exam_filename",length=100,nullable=true)
    private String examFilename;
    
    @Column(name= "Exam_downloadUrl",length=200,nullable=true)
    private String examDownloadUrl;
    
    @Column(name="Exam_creattime")
    @Temporal(TemporalType.TIMESTAMP)
    private Date examCreattime;
	
    
	public int getExamId() {
        return examId;
    }
    public void setExamId(int examId) {
        this.examId = examId;
    }
    
    
    public int getGradeId() {
        return gradeId;
    }
    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }
    
   
    public int getExamTypeid() {
        return examTypeid;
    }
    public void setExamTypeid(int examTypeid) {
        this.examTypeid = examTypeid;
    }
    
    
    public String getExamIcon() {
        return examIcon;
    }
    public void setExamIcon(String examIcon) {
        this.examIcon = examIcon;
    }
    
    
    public int getExamFileid() {
        return examFileid;
    }
    public void setExamFileid(int examFileid) {
        this.examFileid = examFileid;
    }
    
    
    public String getExamTitle() {
        return examTitle;
    }
    public void setExamTitle(String examTitle) {
        this.examTitle = examTitle;
    }
    
    
    public String getExamDescription() {
        return examDescription;
    }
    public void setExamDescription(String examDescription) {
        this.examDescription = examDescription;
    }
    
    
    public String getExamCreator() {
        return examCreator;
    }
    public void setExamCreator(String examCreator) {
        this.examCreator = examCreator;
    }
    
    
    public String getExamFilename() {
        return examFilename;
    }
    public void setExamFilename(String examFilename) {
        this.examFilename = examFilename;
    }
    
    
    public String getExamDownloadUrl() {
        return examDownloadUrl;
    }
    public void setExamDownloadUrl(String examDownloadUrl) {
        this.examDownloadUrl = examDownloadUrl;
    }
    
    
    public Date getExamCreattime() {
        return examCreattime;
    }
    public void setExamCreattime(Date examCreattime) {
        this.examCreattime = examCreattime;
    }
}
